package com.ge.modules.api.service;

import com.ge.modules.entity.TbCommissionIncomeinfoEntity;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 收入明细表
 * 
 * @author lanyonglin
 * @email www.baidu.com
 * @date 2018-07-27 11:23:50
 */
public interface TbCommissionIncomeinfoService {
	
	TbCommissionIncomeinfoEntity queryObject(Integer id);
	
	List<TbCommissionIncomeinfoEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbCommissionIncomeinfoEntity commissionIncomeinfo);
	
	void update(TbCommissionIncomeinfoEntity commissionIncomeinfo);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	int walletCount(TbCommissionIncomeinfoEntity tbCommissionIncomeinfoEntity);

	BigDecimal sumIncomeMoney(TbCommissionIncomeinfoEntity tbCommissionIncomeinfoEntity);
}
